Optimal. Leaf size=381 \[ -\frac{x^9 \left (2 A b^3-a \left (23 a^2 D-16 a b C+9 b^2 B\right )\right )}{35 a^2 b^3 \left (a+b x^2\right )^{5/2}}+\frac{x^9 \left (A-\frac{a \left (a^2 D-a b C+b^2 B\right )}{b^3}\right )}{7 a \left (a+b x^2\right )^{7/2}}-\frac{x^7 \left (16 A b^3-3 a \left (143 a^2 D-66 a b C+24 b^2 B\right )\right )}{210 a^2 b^4 \left (a+b x^2\right )^{3/2}}-\frac{x^5 \left (16 A b^3-3 a \left (143 a^2 D-66 a b C+24 b^2 B\right )\right )}{30 a^2 b^5 \sqrt{a+b x^2}}+\frac{x^3 \sqrt{a+b x^2} \left (16 A b^3-3 a \left (143 a^2 D-66 a b C+24 b^2 B\right )\right )}{24 a^2 b^6}-\frac{x \sqrt{a+b x^2} \left (16 A b^3-3 a \left (143 a^2 D-66 a b C+24 b^2 B\right )\right )}{16 a b^7}+\frac{\tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a+b x^2}}\right ) \left (198 a^2 b C-429 a^3 D-72 a b^2 B+16 A b^3\right )}{16 b^{15/2}}+\frac{D x^9}{6 b^3 \left (a+b x^2\right )^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.662335, antiderivative size = 381, normalized size of antiderivative = 1., number of steps used = 11, number of rules used = 9, integrand size = 32, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.281, Rules used = {1804, 1585, 1263, 1584, 459, 288, 321, 217, 206} \[ -\frac{x^9 \left (2 A b^3-a \left (23 a^2 D-16 a b C+9 b^2 B\right )\right )}{35 a^2 b^3 \left (a+b x^2\right )^{5/2}}+\frac{x^9 \left (A-\frac{a \left (a^2 D-a b C+b^2 B\right )}{b^3}\right )}{7 a \left (a+b x^2\right )^{7/2}}-\frac{x^7 \left (16 A b^3-3 a \left (143 a^2 D-66 a b C+24 b^2 B\right )\right )}{210 a^2 b^4 \left (a+b x^2\right )^{3/2}}-\frac{x^5 \left (16 A b^3-3 a \left (143 a^2 D-66 a b C+24 b^2 B\right )\right )}{30 a^2 b^5 \sqrt{a+b x^2}}+\frac{x^3 \sqrt{a+b x^2} \left (16 A b^3-3 a \left (143 a^2 D-66 a b C+24 b^2 B\right )\right )}{24 a^2 b^6}-\frac{x \sqrt{a+b x^2} \left (16 A b^3-3 a \left (143 a^2 D-66 a b C+24 b^2 B\right )\right )}{16 a b^7}+\frac{\tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a+b x^2}}\right ) \left (198 a^2 b C-429 a^3 D-72 a b^2 B+16 A b^3\right )}{16 b^{15/2}}+\frac{D x^9}{6 b^3 \left (a+b x^2\right )^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1804
Rule 1585
Rule 1263
Rule 1584
Rule 459
Rule 288
Rule 321
Rule 217
Rule 206
Rubi steps
\begin{align*} \int \frac{x^8 \left (A+B x^2+C x^4+D x^6\right )}{\left (a+b x^2\right )^{9/2}} \, dx &=\frac{\left (A-\frac{a \left (b^2 B-a b C+a^2 D\right )}{b^3}\right ) x^9}{7 a \left (a+b x^2\right )^{7/2}}-\frac{\int \frac{x^7 \left (\left (2 A b-\frac{9 a \left (b^2 B-a b C+a^2 D\right )}{b^2}\right ) x-7 a \left (C-\frac{a D}{b}\right ) x^3-7 a D x^5\right )}{\left (a+b x^2\right )^{7/2}} \, dx}{7 a b}\\ &=\frac{\left (A-\frac{a \left (b^2 B-a b C+a^2 D\right )}{b^3}\right ) x^9}{7 a \left (a+b x^2\right )^{7/2}}-\frac{\int \frac{x^8 \left (2 A b-\frac{9 a \left (b^2 B-a b C+a^2 D\right )}{b^2}-7 a \left (C-\frac{a D}{b}\right ) x^2-7 a D x^4\right )}{\left (a+b x^2\right )^{7/2}} \, dx}{7 a b}\\ &=\frac{\left (A-\frac{a \left (b^2 B-a b C+a^2 D\right )}{b^3}\right ) x^9}{7 a \left (a+b x^2\right )^{7/2}}-\frac{\left (2 A b^3-a \left (9 b^2 B-16 a b C+23 a^2 D\right )\right ) x^9}{35 a^2 b^3 \left (a+b x^2\right )^{5/2}}+\frac{\int \frac{x^7 \left (\left (8 A b-\frac{9 a \left (4 b^2 B-11 a b C+18 a^2 D\right )}{b^2}\right ) x+\frac{35 a^2 D x^3}{b}\right )}{\left (a+b x^2\right )^{5/2}} \, dx}{35 a^2 b}\\ &=\frac{\left (A-\frac{a \left (b^2 B-a b C+a^2 D\right )}{b^3}\right ) x^9}{7 a \left (a+b x^2\right )^{7/2}}-\frac{\left (2 A b^3-a \left (9 b^2 B-16 a b C+23 a^2 D\right )\right ) x^9}{35 a^2 b^3 \left (a+b x^2\right )^{5/2}}+\frac{\int \frac{x^8 \left (8 A b-\frac{9 a \left (4 b^2 B-11 a b C+18 a^2 D\right )}{b^2}+\frac{35 a^2 D x^2}{b}\right )}{\left (a+b x^2\right )^{5/2}} \, dx}{35 a^2 b}\\ &=\frac{\left (A-\frac{a \left (b^2 B-a b C+a^2 D\right )}{b^3}\right ) x^9}{7 a \left (a+b x^2\right )^{7/2}}-\frac{\left (2 A b^3-a \left (9 b^2 B-16 a b C+23 a^2 D\right )\right ) x^9}{35 a^2 b^3 \left (a+b x^2\right )^{5/2}}+\frac{D x^9}{6 b^3 \left (a+b x^2\right )^{3/2}}-\frac{\left (\frac{315 a^3 D}{b}-6 b \left (8 A b-\frac{9 a \left (4 b^2 B-11 a b C+18 a^2 D\right )}{b^2}\right )\right ) \int \frac{x^8}{\left (a+b x^2\right )^{5/2}} \, dx}{210 a^2 b^2}\\ &=\frac{\left (A-\frac{a \left (b^2 B-a b C+a^2 D\right )}{b^3}\right ) x^9}{7 a \left (a+b x^2\right )^{7/2}}-\frac{\left (2 A b^3-a \left (9 b^2 B-16 a b C+23 a^2 D\right )\right ) x^9}{35 a^2 b^3 \left (a+b x^2\right )^{5/2}}-\frac{\left (16 A b^3-72 a b^2 B+198 a^2 b C-429 a^3 D\right ) x^7}{210 a^2 b^4 \left (a+b x^2\right )^{3/2}}+\frac{D x^9}{6 b^3 \left (a+b x^2\right )^{3/2}}-\frac{\left (\frac{315 a^3 D}{b}-6 b \left (8 A b-\frac{9 a \left (4 b^2 B-11 a b C+18 a^2 D\right )}{b^2}\right )\right ) \int \frac{x^6}{\left (a+b x^2\right )^{3/2}} \, dx}{90 a^2 b^3}\\ &=\frac{\left (A-\frac{a \left (b^2 B-a b C+a^2 D\right )}{b^3}\right ) x^9}{7 a \left (a+b x^2\right )^{7/2}}-\frac{\left (2 A b^3-a \left (9 b^2 B-16 a b C+23 a^2 D\right )\right ) x^9}{35 a^2 b^3 \left (a+b x^2\right )^{5/2}}-\frac{\left (16 A b^3-72 a b^2 B+198 a^2 b C-429 a^3 D\right ) x^7}{210 a^2 b^4 \left (a+b x^2\right )^{3/2}}+\frac{D x^9}{6 b^3 \left (a+b x^2\right )^{3/2}}-\frac{\left (16 A b^3-72 a b^2 B+198 a^2 b C-429 a^3 D\right ) x^5}{30 a^2 b^5 \sqrt{a+b x^2}}-\frac{\left (\frac{315 a^3 D}{b}-6 b \left (8 A b-\frac{9 a \left (4 b^2 B-11 a b C+18 a^2 D\right )}{b^2}\right )\right ) \int \frac{x^4}{\sqrt{a+b x^2}} \, dx}{18 a^2 b^4}\\ &=\frac{\left (A-\frac{a \left (b^2 B-a b C+a^2 D\right )}{b^3}\right ) x^9}{7 a \left (a+b x^2\right )^{7/2}}-\frac{\left (2 A b^3-a \left (9 b^2 B-16 a b C+23 a^2 D\right )\right ) x^9}{35 a^2 b^3 \left (a+b x^2\right )^{5/2}}-\frac{\left (16 A b^3-72 a b^2 B+198 a^2 b C-429 a^3 D\right ) x^7}{210 a^2 b^4 \left (a+b x^2\right )^{3/2}}+\frac{D x^9}{6 b^3 \left (a+b x^2\right )^{3/2}}-\frac{\left (16 A b^3-72 a b^2 B+198 a^2 b C-429 a^3 D\right ) x^5}{30 a^2 b^5 \sqrt{a+b x^2}}+\frac{\left (16 A b^3-72 a b^2 B+198 a^2 b C-429 a^3 D\right ) x^3 \sqrt{a+b x^2}}{24 a^2 b^6}+\frac{\left (\frac{315 a^3 D}{b}-6 b \left (8 A b-\frac{9 a \left (4 b^2 B-11 a b C+18 a^2 D\right )}{b^2}\right )\right ) \int \frac{x^2}{\sqrt{a+b x^2}} \, dx}{24 a b^5}\\ &=\frac{\left (A-\frac{a \left (b^2 B-a b C+a^2 D\right )}{b^3}\right ) x^9}{7 a \left (a+b x^2\right )^{7/2}}-\frac{\left (2 A b^3-a \left (9 b^2 B-16 a b C+23 a^2 D\right )\right ) x^9}{35 a^2 b^3 \left (a+b x^2\right )^{5/2}}-\frac{\left (16 A b^3-72 a b^2 B+198 a^2 b C-429 a^3 D\right ) x^7}{210 a^2 b^4 \left (a+b x^2\right )^{3/2}}+\frac{D x^9}{6 b^3 \left (a+b x^2\right )^{3/2}}-\frac{\left (16 A b^3-72 a b^2 B+198 a^2 b C-429 a^3 D\right ) x^5}{30 a^2 b^5 \sqrt{a+b x^2}}-\frac{\left (16 A b^3-72 a b^2 B+198 a^2 b C-429 a^3 D\right ) x \sqrt{a+b x^2}}{16 a b^7}+\frac{\left (16 A b^3-72 a b^2 B+198 a^2 b C-429 a^3 D\right ) x^3 \sqrt{a+b x^2}}{24 a^2 b^6}+\frac{\left (16 A b^3-72 a b^2 B+198 a^2 b C-429 a^3 D\right ) \int \frac{1}{\sqrt{a+b x^2}} \, dx}{16 b^7}\\ &=\frac{\left (A-\frac{a \left (b^2 B-a b C+a^2 D\right )}{b^3}\right ) x^9}{7 a \left (a+b x^2\right )^{7/2}}-\frac{\left (2 A b^3-a \left (9 b^2 B-16 a b C+23 a^2 D\right )\right ) x^9}{35 a^2 b^3 \left (a+b x^2\right )^{5/2}}-\frac{\left (16 A b^3-72 a b^2 B+198 a^2 b C-429 a^3 D\right ) x^7}{210 a^2 b^4 \left (a+b x^2\right )^{3/2}}+\frac{D x^9}{6 b^3 \left (a+b x^2\right )^{3/2}}-\frac{\left (16 A b^3-72 a b^2 B+198 a^2 b C-429 a^3 D\right ) x^5}{30 a^2 b^5 \sqrt{a+b x^2}}-\frac{\left (16 A b^3-72 a b^2 B+198 a^2 b C-429 a^3 D\right ) x \sqrt{a+b x^2}}{16 a b^7}+\frac{\left (16 A b^3-72 a b^2 B+198 a^2 b C-429 a^3 D\right ) x^3 \sqrt{a+b x^2}}{24 a^2 b^6}+\frac{\left (16 A b^3-72 a b^2 B+198 a^2 b C-429 a^3 D\right ) \operatorname{Subst}\left (\int \frac{1}{1-b x^2} \, dx,x,\frac{x}{\sqrt{a+b x^2}}\right )}{16 b^7}\\ &=\frac{\left (A-\frac{a \left (b^2 B-a b C+a^2 D\right )}{b^3}\right ) x^9}{7 a \left (a+b x^2\right )^{7/2}}-\frac{\left (2 A b^3-a \left (9 b^2 B-16 a b C+23 a^2 D\right )\right ) x^9}{35 a^2 b^3 \left (a+b x^2\right )^{5/2}}-\frac{\left (16 A b^3-72 a b^2 B+198 a^2 b C-429 a^3 D\right ) x^7}{210 a^2 b^4 \left (a+b x^2\right )^{3/2}}+\frac{D x^9}{6 b^3 \left (a+b x^2\right )^{3/2}}-\frac{\left (16 A b^3-72 a b^2 B+198 a^2 b C-429 a^3 D\right ) x^5}{30 a^2 b^5 \sqrt{a+b x^2}}-\frac{\left (16 A b^3-72 a b^2 B+198 a^2 b C-429 a^3 D\right ) x \sqrt{a+b x^2}}{16 a b^7}+\frac{\left (16 A b^3-72 a b^2 B+198 a^2 b C-429 a^3 D\right ) x^3 \sqrt{a+b x^2}}{24 a^2 b^6}+\frac{\left (16 A b^3-72 a b^2 B+198 a^2 b C-429 a^3 D\right ) \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a+b x^2}}\right )}{16 b^{15/2}}\\ \end{align*}
Mathematica [A] time = 0.533611, size = 273, normalized size = 0.72 \[ \frac{x \left (-12 a^3 b^3 \left (140 A-2100 B x^2+6699 C x^4-6292 D x^6\right )+a^2 b^4 x^2 \left (-5600 A+29232 B x^2-34848 C x^4+5005 D x^6\right )+42 a^4 b^2 \left (180 B-1650 C x^2+4147 D x^4\right )-2310 a^5 b \left (9 C-65 D x^2\right )+45045 a^6 D-2 a b^5 x^4 \left (3248 A-6336 B x^2+1155 C x^4+455 D x^6\right )+4 b^6 x^6 \left (35 \left (6 B x^2+3 C x^4+2 D x^6\right )-704 A\right )\right )}{1680 b^7 \left (a+b x^2\right )^{7/2}}+\frac{\sqrt{a+b x^2} \sinh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right ) \left (16 A b^3-3 a \left (143 a^2 D-66 a b C+24 b^2 B\right )\right )}{16 \sqrt{a} b^{15/2} \sqrt{\frac{b x^2}{a}+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.301, size = 517, normalized size = 1.4 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.24753, size = 462, normalized size = 1.21 \begin{align*} \frac{{\left ({\left ({\left ({\left (35 \,{\left (2 \,{\left (\frac{4 \, D x^{2}}{b} - \frac{13 \, D a^{4} b^{11} - 6 \, C a^{3} b^{12}}{a^{3} b^{13}}\right )} x^{2} + \frac{143 \, D a^{5} b^{10} - 66 \, C a^{4} b^{11} + 24 \, B a^{3} b^{12}}{a^{3} b^{13}}\right )} x^{2} + \frac{176 \,{\left (429 \, D a^{6} b^{9} - 198 \, C a^{5} b^{10} + 72 \, B a^{4} b^{11} - 16 \, A a^{3} b^{12}\right )}}{a^{3} b^{13}}\right )} x^{2} + \frac{406 \,{\left (429 \, D a^{7} b^{8} - 198 \, C a^{6} b^{9} + 72 \, B a^{5} b^{10} - 16 \, A a^{4} b^{11}\right )}}{a^{3} b^{13}}\right )} x^{2} + \frac{350 \,{\left (429 \, D a^{8} b^{7} - 198 \, C a^{7} b^{8} + 72 \, B a^{6} b^{9} - 16 \, A a^{5} b^{10}\right )}}{a^{3} b^{13}}\right )} x^{2} + \frac{105 \,{\left (429 \, D a^{9} b^{6} - 198 \, C a^{8} b^{7} + 72 \, B a^{7} b^{8} - 16 \, A a^{6} b^{9}\right )}}{a^{3} b^{13}}\right )} x}{1680 \,{\left (b x^{2} + a\right )}^{\frac{7}{2}}} + \frac{{\left (429 \, D a^{3} - 198 \, C a^{2} b + 72 \, B a b^{2} - 16 \, A b^{3}\right )} \log \left ({\left | -\sqrt{b} x + \sqrt{b x^{2} + a} \right |}\right )}{16 \, b^{\frac{15}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]